<template>
  <div id="app">
    <my-header>
      <template v-slot:center="test">
          <ul>
            <li v-for="item in test.nav">{{item}}</li>
          </ul>
      </template>
      <template v-slot:right>
          right
      </template>
    </my-header>
  </div>
</template>

<script>
import myHeader from  '@/components/myHeader'
export default {
  components:{
    myHeader
  }
}
</script>

<style lang="scss">

</style>
